package com.eduhzy.ttw.teacher.di.component;

import com.eduhzy.ttw.teacher.di.module.MineClassModule;
import com.eduhzy.ttw.teacher.mvp.contract.MineClassContract;
import com.eduhzy.ttw.teacher.mvp.ui.activity.MineClassActivity;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;

@ActivityScope
@Component(modules = MineClassModule.class, dependencies = AppComponent.class)
public interface MineClassComponent {
    void inject(MineClassActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        MineClassComponent.Builder view(MineClassContract.View view);
        MineClassComponent.Builder appComponent(AppComponent appComponent);
        MineClassComponent build();
    }


}